import etcd3



if __name__ == "__main__":

    cli = etcd3.Etcd3Client("192.168.31.34", ca_cert='../ssl/ca.pem', cert_cert='../ssl/etcd.pem', cert_key='../ssl/etcd-key.pem')
    r = cli.put('aaa', 'qweqwe')
    b = cli.get('aaa')
    print(b)